<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "{{%gky_course2}}".
 *
 * @property integer $id
 * @property integer $noon
 * @property integer $jc
 * @property string $mon
 * @property string $tue
 * @property string $wed
 * @property string $thu
 * @property string $fri
 * @property string $sat
 * @property string $sun
 * @property integer $week
 */
class Course2 extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%gky_course2}}';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['noon', 'jc', 'week'], 'integer'],
            [['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun'], 'string'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'noon' => 'Noon',
            'jc' => 'Jc',
            'mon' => 'Mon',
            'tue' => 'Tue',
            'wed' => 'Wed',
            'thu' => 'Thu',
            'fri' => 'Fri',
            'sat' => 'Sat',
            'sun' => 'Sun',
            'week' => 'Week',
        ];
    }
}
